package netcracker;

/**
 *
 * @author Galimov, Metsker
 */
public class Main {

    public static void main(String[] args) {
        Flat a = new Flat();
        Flat b = new Flat(0, 0);
        Flat c = new Flat(550.5, 25);
        Flat mas[] = {a, b, a};
        DwellingFloor da = new DwellingFloor(mas);    
        DwellingFloor db = new DwellingFloor(7);
        DwellingFloor dc = new DwellingFloor(5);
        DwellingFloor mas1[] = {da, db, dc};
        Dwelling home1 = new Dwelling(mas1);  
        //home1.showDwellingUp();
        home1.editFlat(14, home1.getFlat(1));
        home1.addFlat(9, c);
        home1.showDwellingUp();
        home1.getSortedFlats();
    }
    
}
